#ifndef COM
#define COM 
int uart_open(const char* port);
void uart_close(int fd);
int uart_set(int fd, int speed, int flow_ctrl, int databits, int stopbits, int parity);
int uart_recv(int fd, char *rcv_buf,int data_len);
int uart_send(int fd, char *send_buf,int data_len);
int uart_open_no_block(const char* port);
int uart_recv_no_block(int fd, char *rcv_buf, int data_len);

#endif /* ifndef COM */
